<!-- <meta http-equiv="Access-Control-Allow-Origin" content="*"> -->
<script type="text/javascript">
	var user_agree_vote_url="{:U('index/Question/replayQuestionAgree')}";
</script>

<div class="aw-container-wrap">
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<!-- 新消息通知 -->
					<div class="aw-mod aw-notification-box hide" id="index_notification" style="display: block;">
						<div class="mod-head common-head">
							<h2>
								<span class="pull-right"><a href="http://nuke.cgspread.com/account/setting/privacy/#notifications" class="text-color-999"><i class="icon icon-setting"></i> 通知设置</a></span>
								<i class="icon icon-bell"></i>新通知<em class="badge badge-important" name="notification_unread_num">1</em>
							</h2>
						</div>
						<div class="mod-body">
							<ul id="notification_list"><li id="notification_1408" class="active">			<i class="icon-tips"></i>				<p class="moreContent"><a href="http://nuke.cgspread.com/people/%E9%98%BF%E6%96%8C">阿斌</a> 评论了你在问题 <a href="http://nuke.cgspread.com/question/220?notification_id=1408&rf=false&item_id=367#!answer_367">请问视频中这种跟踪摄像机的合成方式是不是用nuke制作的</a> 中的回复 <span></span></p>		<p class="text-color-999">		16 小时前		 				<a class="read pull-right" onclick="AWS.Message.read_notification($(this).parents(&#39;li&#39;), 1408, false);">标为已读</a>			</p></li></ul>
						</div>
						<div class="mod-footer clearfix">
							<a href="javascript:;" onclick="AWS.Message.read_notification(false, 0, false);" class="pull-left btn btn-mini btn-default">我知道了</a>
							<a href="http://nuke.cgspread.com/notifications/" class="pull-right btn btn-mini btn-success">查看所有</a>
						</div>
					</div>
					<!-- end 新消息通知 -->

					<a name="c_contents"></a>
					<div class="aw-mod clearfix">
						<div class="mod-head common-head">
							<h2 id="main_title">最新动态</h2>
						</div>

						<div class="mod-body aw-feed-list clearfix" id="main_contents"><a href="javascript:;" class="aw-load-more-content warmming hide" onclick="reload_list(0);" id="new_actions_tip"><span><em id="new_action_num"></em> 条新动态, 点击查看</span></a>

				<?php foreach ($res as $key => $value) { ?>
					<?php if($value['send_replay_question']=="回答了问题"){ ?>

						<div class="aw-item" data-history-id="708">
			<div class="mod-head">

		<a data-id="1" class="aw-user-img aw-border-radius-5" href="{:U('index/People/index',array('uid'=>$value['id']))}"><img src="<?php echo "__ROOT__/".$value['head_img']?>" alt=""><i class="icon icon-v i-ve"></i></a>		<p class="text-color-999">
			<a href="{:U('index/People/index',array('uid'=>$value['id']))}" class="aw-user-name" data-id="1"><?php echo $value['username']?></a><?php echo $value['send_replay_question']?> • <?php echo $value['time']?>•		
							<a href="http://nuke.cgspread.com/question/110" class="text-color-999"><?php echo $value['replay_num']?> 个回复</a>
									
								<span class="pull-right hide"><a class="text-color-999" href="javascript:;" onclick="AWS.User.question_uninterested($(this).parents(&#39;div.aw-item&#39;), 110);">不感兴趣</a></span>					</p>
		<h4><a href="{:U('index/Find/moreDetail',array('id'=>$value['qid']))}"><?php echo $value['title']?></a></h4>
		<p class="text-color-999 aw-agree-by hide">
			赞同来自:
					</p>
	</div>
		<div class="mod-body clearfix">
		<!-- 评论内容 -->
		<div id="detail_708" class="markitup-box">
      		<?php echo $value['centent']?>
      		     		        	<a href="javascript:;" class="showMore" onclick="AWS.content_switcher($(&#39;#detail_708&#39;), $(&#39;#detail_more_708&#39;));">显示全部 »</a>
        	        	
					</div>
		<div id="detail_more_708" class="hide markitup-box">
      		<?php echo $value['centent']?>       	
		</div>    
		<!-- end 评论内容 -->
	</div>
	<div class="mod-footer">
		<!-- 社交操作 -->
		<div class="meta clearfix">
			<!-- 投票栏 -->
			<span class="operate">
				<!-- <a class="agree  " onclick="AWS.User.agree_vote(this, &#39;ghp2016&#39;, 169);"> -->
				<?php if($value['agree']==1) { ?>
					<a class="agree  active" id="replay_agree" onclick="user_agree_vote(<?php echo $value['aid'] ?>,<?php echo $value['uid'] ?>)">
				<?php }elseif($value['agree']==0) { ?>
					<a class="agree" id="replay_agree" onclick="user_agree_vote(<?php echo $value['aid']?>,<?php echo $value['uid'] ?>)">
				<?php } ?>
				<i data-original-title="赞同回复" class="icon icon-agree" data-toggle="tooltip" title="" data-placement="right"></i> <b class="count">0</b></a>
								<a class="disagree " onclick="AWS.User.disagree_vote(this, &#39;ghp2016&#39;, 169)"><i data-original-title="对回复持反对意见" class="icon icon-disagree" data-toggle="tooltip" title="" data-placement="right"></i></a>
							</span>
			<!-- end 投票栏 -->
			<span class="operate">
				<a class="aw-add-comment text-color-999" href="javascript:;" data-id="169" data-type="answer"><i class="icon icon-comment"></i>1</a>
			</span>
			<span class="pull-right more-operate">
								<a href="javascript:;" onclick="AWS.User.answer_user_rate($(this), &#39;thanks&#39;, 169);" class="aw-icon-thank-tips text-color-999" data-original-title="感谢热心的回复者" data-toggle="tooltip" title="" data-placement="bottom"><i class="icon icon-thank"></i>感谢</a>
								<a href="javascript:;" onclick="AWS.dialog(&#39;favorite&#39;, {item_id:169, item_type:&#39;answer&#39;});" class="text-color-999"><i class="icon icon-favor"></i>收藏</a>
				<a class="text-color-999 dropdown-toggle" data-toggle="dropdown">
					<i class="icon icon-share"></i>分享				</a>
				<div aria-labelledby="dropdownMenu" role="menu" class="aw-dropdown shareout pull-right">
					<ul class="aw-dropdown-list">
						<li><a onclick="AWS.User.share_out(&#39;tsina&#39;, $(this).parents(&#39;.aw-item&#39;).find(&#39;.markitup-box&#39;).eq(0).text(), &#39;http://nuke.cgspread.com/question/110&#39;);"><i class="icon icon-weibo"></i> 新浪微博</a></li>
						<li><a onclick="AWS.User.share_out(&#39;qzone&#39;, $(this).parents(&#39;.aw-item&#39;).find(&#39;.markitup-box&#39;).eq(0).text(), &#39;http://nuke.cgspread.com/question/110&#39;);"><i class="icon icon-qzone"></i> QZONE</a></li>
						<li><a onclick="AWS.User.share_out(&#39;weixin&#39;, $(this).parents(&#39;.aw-item&#39;).find(&#39;.markitup-box&#39;).eq(0).text(), &#39;http://nuke.cgspread.com/question/110&#39;);"><i class="icon icon-wechat"></i> 微信</a></li>
					</ul>
				</div>
			</span>
		</div>
		<!-- end 社交操作 -->	
	</div>
	</div>
					<?php }elseif($value['send_replay_question']=="发布了问题") { ?>
							<div class="aw-item" data-history-id="773">
							<div class="mod-head">
								<a data-id="1" class="aw-user-img aw-border-radius-5" href="{:U('index/People/index',array('uid'=>$value['id']))}"><img src="<?php echo "__ROOT__/".$value['head_img']?>" alt="weijer"><i class="icon icon-v i-ve"></i></a>		<p class="text-color-999">
									<a href="{:U('index/People/index',array('uid'=>$value['id']))}" class="aw-user-name" data-id="1"><?php echo $value['username']?></a><?php echo $value['send_replay_question']?>•  <?php echo $value['time']?> • 			
													<a href="http://nuke.cgspread.com/question/120" class="text-color-999"><?php echo $value['replay_num']?>个回复</a>
															
														<span class="pull-right hide"><a class="text-color-999" href="javascript:;" onclick="AWS.User.question_uninterested($(this).parents('div.aw-item'), 120);">不感兴趣</a></span>					</p>
								<h4><a href="{:U('index/Find/moreDetail',array('id'=>$value['qid']))}"><?php echo $value['title']?></a></h4>
								<p class="text-color-999 aw-agree-by hide">
									赞同来自:
											</p>
							</div>
							</div>


					<?php } ?>
				<?php }?>
				
</div>

						<div class="mod-footer">
							<!-- 加载更多内容 -->
							<a id="bp_more" class="aw-load-more-content" data-page="1">
								<span>更多</span>
							</a>
							<!-- end 加载更多内容 -->
						</div>
					</div>
				</div>
				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
								<script type="text/javascript">
		var ANNOUNCE_CLOSE = 'fd44ad4138';

		$(document).ready(function()
		{
			if (ANNOUNCE_CLOSE != $.cookie('announce_close'))
			{
				$('#aw-site-announce').show();
			}
		});
		</script>

		<div class="aw-mod new-announce hide" id="aw-site-announce" style="display: block;">
			<div class="mod-head">
				<h3>
					<a class="pull-right" href="javascript:;" onclick="$(&#39;#aw-site-announce&#39;).fadeOut(); $.cookie(&#39;announce_close&#39;, ANNOUNCE_CLOSE, { expires: 30 });"><i class="icon icon-delete text-color-999"></i></a>
					公告				</h3>
			</div>
			<div class="mod-body">
				Nuke中文社区建立			</div>
		</div>
	
					<div class="aw-mod side-nav">
	<div class="mod-body">
		<ul>
			<li><a href="./(1) 动态 - Nuke中文社区_files/(1) 动态 - Nuke中文社区.html" rel="all" class="active"><i class="icon icon-home"></i>最新动态</a></li>
			<li><a href="http://nuke.cgspread.com/home/#draft_list__draft" rel="draft_list__draft"><i class="icon icon-draft"></i>我的草稿</a></li>
			<li><a href="http://nuke.cgspread.com/favorite/"><i class="icon icon-favor"></i>我的收藏</a></li>
			<li><a href="http://nuke.cgspread.com/home/#all__focus" rel="all__focus"><i class="icon icon-check"></i>我关注的问题</a></li>
			<li><a href="http://nuke.cgspread.com/home/#focus_topic__focus" rel="focus_topic__focus"><i class="icon icon-mytopic"></i>我关注的话题</a></li>
			<li><a href="http://nuke.cgspread.com/home/#invite_list__invite" rel="invite_list__invite"><i class="icon icon-invite"></i>邀请我回复的问题</a></li>
		</ul>
	</div>
</div>

<div class="aw-mod side-nav">
	<div class="mod-body">
		<ul>
			<li><a href="{:U('index/Theme/list')}"><i class="icon icon-topic"></i>所有话题</a></li>
			<li><a href="http://nuke.cgspread.com/people/"><i class="icon icon-user"></i>所有用户</a></li>
			<li><a href="http://nuke.cgspread.com/invitation/"><i class="icon icon-inviteask"></i>邀请好友加入 </a></li>
		</ul>
	</div>
</div>
					<!-- 可能感兴趣的人/或话题 -->
					<div class="aw-mod interest-user">	<div class="mod-head"><h3>可能感兴趣的人或话题</h3></div>	<div class="mod-body">	    	    		<dl>			<dt class="pull-left aw-border-radius-5">				<a href="http://nuke.cgspread.com/people/%E5%9C%B0%E9%9B%B7%E5%A5%B3%E5%A5%B3" data-id="6" class="aw-user-name"><img alt="地雷女女" src="./(1) 动态 - Nuke中文社区_files/06_avatar_min.jpg"></a>			</dt>			<dd class="pull-left">				<a href="http://nuke.cgspread.com/people/%E5%9C%B0%E9%9B%B7%E5%A5%B3%E5%A5%B3" data-id="6" class="aw-user-name"><span>地雷女女</span><i class="icon-v" title="个人认证"></i></a>				<a class="icon-inverse follow tooltips icon icon-plus" data-placement="bottom" title="" data-toggle="tooltip" data-original-title="关注" onclick="AWS.User.follow($(this), &#39;user&#39;, 6);AWS.ajax_request(G_BASE_URL + &#39;/account/ajax/clean_user_recommend_cache/&#39;);"></a>				<p class="signature">社区管理员，合成妹子一枚</p>				<p><a href="http://nuke.cgspread.com/people/weijer" class="aw-user-name" data-id="1">weijer</a> 关注了 TA</p>			</dd>		</dl>					    		<dl>			<dt class="pull-left aw-border-radius-5">				<a href="http://nuke.cgspread.com/people/%E8%B7%91%E5%95%A5%E8%B7%91%E5%91%A2" data-id="22" class="aw-user-name"><img alt="跑啥跑呢" src="./(1) 动态 - Nuke中文社区_files/22_avatar_min.jpg"></a>			</dt>			<dd class="pull-left">				<a href="http://nuke.cgspread.com/people/%E8%B7%91%E5%95%A5%E8%B7%91%E5%91%A2" data-id="22" class="aw-user-name"><span>跑啥跑呢</span><i class="icon-v" title="个人认证"></i></a>				<a class="icon-inverse follow tooltips icon icon-plus" data-placement="bottom" title="" data-toggle="tooltip" data-original-title="关注" onclick="AWS.User.follow($(this), &#39;user&#39;, 22);AWS.ajax_request(G_BASE_URL + &#39;/account/ajax/clean_user_recommend_cache/&#39;);"></a>				<p class="signature"></p>				<p><a href="http://nuke.cgspread.com/people/weijer" class="aw-user-name" data-id="1">weijer</a> 关注了 TA</p>			</dd>		</dl>					    	    <dl>			<dt class="pull-left aw-border-radius-5">				<a href="http://nuke.cgspread.com/topic/Nuke%E6%8F%92%E4%BB%B6"><img alt="Nuke插件" src="./(1) 动态 - Nuke中文社区_files/topic-mid-img.png"></a>			</dt>			<dd class="pull-left">				<span class="topic-tag">					<a href="http://nuke.cgspread.com/topic/Nuke%E6%8F%92%E4%BB%B6" class="text">Nuke插件</a>				</span>&nbsp;				<a class="icon-inverse follow tooltips icon icon-plus" data-placement="bottom" title="" data-toggle="tooltip" data-original-title="关注" onclick="AWS.User.follow($(this), &#39;topic&#39;, 11);AWS.ajax_request(G_BASE_URL + &#39;/account/ajax/clean_user_recommend_cache/&#39;);"></a>				<p><a href="http://nuke.cgspread.com/people/weijer" class="aw-user-name" data-id="1">weijer</a> 关注了该话题</p>			</dd>		</dl>					    	    <dl>			<dt class="pull-left aw-border-radius-5">				<a href="http://nuke.cgspread.com/topic/nuke%E6%96%B0%E4%BA%BA"><img alt="nuke新人" src="./(1) 动态 - Nuke中文社区_files/topic-mid-img.png"></a>			</dt>			<dd class="pull-left">				<span class="topic-tag">					<a href="http://nuke.cgspread.com/topic/nuke%E6%96%B0%E4%BA%BA" class="text">nuke新人</a>				</span>&nbsp;				<a class="icon-inverse follow tooltips icon icon-plus" data-placement="bottom" title="" data-toggle="tooltip" data-original-title="关注" onclick="AWS.User.follow($(this), &#39;topic&#39;, 5);AWS.ajax_request(G_BASE_URL + &#39;/account/ajax/clean_user_recommend_cache/&#39;);"></a>				<p><a href="http://nuke.cgspread.com/people/weijer" class="aw-user-name" data-id="1">weijer</a> 关注了该话题</p>			</dd>		</dl>					    	    <dl>			<dt class="pull-left aw-border-radius-5">				<a href="http://nuke.cgspread.com/topic/nuke%E7%BC%96%E7%A8%8B"><img alt="nuke编程" src="./(1) 动态 - Nuke中文社区_files/topic-mid-img.png"></a>			</dt>			<dd class="pull-left">				<span class="topic-tag">					<a href="http://nuke.cgspread.com/topic/nuke%E7%BC%96%E7%A8%8B" class="text">nuke编程</a>				</span>&nbsp;				<a class="icon-inverse follow tooltips icon icon-plus" data-placement="bottom" title="" data-toggle="tooltip" data-original-title="关注" onclick="AWS.User.follow($(this), &#39;topic&#39;, 6);AWS.ajax_request(G_BASE_URL + &#39;/account/ajax/clean_user_recommend_cache/&#39;);"></a>				<p><a href="http://nuke.cgspread.com/people/weijer" class="aw-user-name" data-id="1">weijer</a> 关注了该话题</p>			</dd>		</dl>					</div></div>				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>


<script type="text/javascript">
	



</script>
<import file="Js.main" />
</body></html>